//=== faceDetector.h =================================================
#ifndef FACEDETECTOR_H
#define FACEDETECTOR_H

#include "cv.h"
// # // let's not include "highgui.h" //TODO: RAT


//FIX : what namespaces where?
//using namespace cv;


//FIX : big three?

class FaceDetector {
	public:
		//TODO : should this be there, or is implicit from default arg to other constructor? 
		//FaceDetector();
		FaceDetector(double scale);
	
		//TODO
		//void setScale(double scale);
		//double getScale();

	
	std::vector< cv::Rect >* detectFace( const cv::Mat& img );
	// the way the OpenCV library is written makes it tricky to declare this function constant even though it should be possible?	
	
	private:
		cv::String cascadeName;
		cv::CascadeClassifier cascade;
		double scale;
};
#endif